package com.fer.tankr.scenes;

import org.andengine.entity.scene.Scene;
import org.andengine.entity.sprite.Sprite;
import org.andengine.opengl.texture.region.ITextureRegion;
import org.andengine.opengl.vbo.VertexBufferObjectManager;

import com.fer.tankr.MainActivity;

public class GameScene extends Scene {

	
	public GameScene( ITextureRegion textureRegion, VertexBufferObjectManager vbom) {
		
		textureRegion.setTextureWidth(MainActivity.CAMERA_WIDTH*10);
		textureRegion.setTextureHeight(MainActivity.CAMERA_WIDTH*10);
		final Sprite mySprite = new Sprite(-MainActivity.CAMERA_WIDTH, -MainActivity.CAMERA_HEIGHT, textureRegion, vbom);
		attachChild(mySprite);
	}
}
